package lab21;

import java.util.LinkedList;

public class OtherStuff {

	public static void main(String[] args) {
		LinkedList<String> myList = new LinkedList<String>();
		myList.add("Pesho");
		myList.addFirst("Gosho");
		myList.addLast("F");
		myList.add("G");
		System.out.println(myList);
	}
}